﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace CloverNet.Authorization.Demo.Manager.Models
{
    public class UserModel
    {
        [Required]
        [Display(Name = "用户名")]
        [DisplayFormat(ConvertEmptyStringToNull = true, NullDisplayText = "暂无")]
        public string UserName { get; set; }

        [Required]
        [AllowHtml]
        [Display(Name = "密码")]
        [DataType(DataType.Password)]
        public string Password { get; set; }

    }
}